package com.gopay.checkorder.service;

import com.gopay.common.domain.cps.CpsGenMainOrder;
import com.gopay.common.exception.GopayException;

/**
 * 订单与账务状态同步
 * 
 * @CheckMainOrderAccount.java
 * @author yaobo
 * @2013-7-9 上午11:48:46 www.gopay.com.cn Inc.All rights reserved.
 */
public interface CheckMainOrderAccount {
    /**
     * 订单状态同步
     * 
     * @param mainOrder
     * @return
     */
    public boolean sync(final CpsGenMainOrder mainOrder) throws GopayException;
}
